from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, TextAreaField
from wtforms.validators import DataRequired,Length

class Helloform(FlaskForm):
    name = StringField('Name',validators=[DataRequired(),Length(1,20)])
    body = TextAreaField('Message',validators=[DataRequired(),Length(1,200)])
    submit = SubmitField()